<?php
class Contentmodel extends Model{
	
	function Contentmodel(){
		parent::Model();
		$this->_prefix = $this->config->item('FAL_table_prefix');
        $this->_table = $this->_prefix.'content';
	}
	
	function get_content($content_page)
	{
		
		$this->db->where('page_name',$content_page);
		$query = $this->db->get($this->_table);
		return $query->row();
	}
}